<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title><?php $view['slots']->output('title', 'Agendana') ?></title>
        <?php foreach ($view['assetic']->stylesheets(array('bootstrap/css/*','bundles/css/cc/*')) as $url): ?>
            <link rel="stylesheet" href="<?php echo $view->escape($url) ?>" />
        <?php endforeach ?>  
        <?php foreach ($view['assetic']->javascripts(array('bundles/js/thirdparty/*','bootstrap/js/*','bundles/js/cc/*'),array(),
                array('output' => 'js/compiled/js.js')) as $url): ?>
                <script src="<?php echo $view->escape($url) ?>"></script>
        <?php endforeach ?>
        <script type="text/javascript">var ajax_urls = <?php echo json_encode($view['ajax_url_manager']->get_ajax_urls(), JSON_NUMERIC_CHECK); ?>;</script>
        <?php $view['slots']->output('_assets') ?>
    </head>
    <body role="document" class="container">

   

      <?php echo $view->render('AnaAgendaBundle:Default:_loading_modal.html.php') ?>
      <?php echo $view->render('AnaAgendaBundle:Default:_navbar.html.php') ?>

        
        <div  ng-app="agendana">
            <div  ng-controller="AlertasCtrl">
                <alert ng-repeat="alerta in alertas" class="alerta-global" type="alerta.tipo" close="alertas.splice($index, 1)">
                    <span ng-if="alerta.tipo=='danger'" class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
                    <span ng-if="alerta.tipo=='warning'" class="glyphicon glyphicon-warning-sign" aria-hidden="true"></span>
                    <span ng-if="alerta.tipo=='success'" class="glyphicon glyphicon-ok" aria-hidden="true"></span>
                    {{alerta.mensaje}}
                </alert>
            </div>
            <?php $view['slots']->output('_content') ?>
        </div>
    </body>
</html>